<div class="widget ad_widget normal_ad_widget" id="<?php echo $id ?>">
<?php
	if(!empty($title)){
		echo CHtml::tag('h5', array(), $title);
	}
?>
	<ul>
<?php 
	foreach ($items as $item){
?>
		<li>
			<a href="<?php echo $item['url']?>" target="<?php echo $item['target']?>">
				<img src="<?php echo CommonHelper::get_thumb($item['picture'], $thumb)?>" title="<?php echo  $item['title']?>"/>
			</a>
		</li>
<?php 
	}
?>
	</ul>
</div>